﻿@{
    ViewBag.Title = "Thêm loại sản phẩm";
    Layout = "~/Views/Share/_BackendLayout.cshtml";
}

<div class="row-fluid">
    <div class="span12">
        <div class="widget">
            <div class="wTitle">
                <h5>Thêm mới loại sản phẩm</h5>
            </div>
            <div class="wContent">
                <div class="tabbable">
                    <div class="navbar-inner">
                        <ul class="nav nav-tabs">
                            <li class="active"><a data-toggle="tab" href="#tab1">Thông tin chung</a></li>
                            <li><a data-toggle="tab" href="#tab2">SEO </a></li>
                        </ul>
                    </div>

                    <form id="validate" action="/cpanel/createtypeproduct" method="POST">

                        <div class="tab-content">
                            <div class="tab-pane active" id="tab1">
                                <div class="formField">
                                    <div class="row-fluid">
                                        <div class="span2">
                                            <span class="fLabel">Nhóm cha</span>
                                        </div>
                                        <div class="span9">
                                            <div class="noSearch">
                                                @Html.DropDownList("Parent", null, "NULL", new { @class="chosen"})
                                                
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="formWizard">
                                    <div class="row-fluid">
                                        <div class="span2">
                                            <span class="fLabel">Tên loại sản phẩm</span>
                                        </div>
                                        <div class="span9">
                                            <input type="text" name="name">
                                        </div>
                                    </div>
                                </div>
                                <div class="formField">
                                    <div class="row-fluid">
                                        <div class="span2">
                                            <span class="fLabel">Hình ảnh</span>
                                        </div>
                                        <div class="span9">
                                            <input type="file" name="Image">
                                        </div>
                                    </div>
                                </div>
                                <div class="formField">
                                    <div class="row-fluid">
                                        <div class="span2">
                                            <span class="fLabel">Trạng thái</span>
                                        </div>
                                        <div class="span9">
                                            <div class="noSearch">
                                                <select class="chosen" name="Status">
                                                    <option value="True">Hiện</option>
                                                    <option value="False">Ẩn</option>
                                                </select>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="formField">
                                    <div class="row-fluid">
                                        <div class="span2">
                                            <span class="fLabel">Sắp xếp</span>
                                        </div>
                                        <div class="span9">
                                            <input type="number" name="Sort">
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="tab-pane" id="tab2">
                                <div class="formField">
                                    <div class="row-fluid">
                                        <div class="span2">
                                            <span class="fLabel">Meta Title</span>
                                        </div>
                                        <div class="span9">
                                            <input type="text" name="MetaTitle">
                                        </div>
                                    </div>
                                </div>
                                <div class="formField">
                                    <div class="row-fluid">
                                        <div class="span2">
                                            <span class="fLabel">Meta Description</span>
                                        </div>
                                        <div class="span9">
                                            <textarea name="MetaDescription" rows="4"></textarea>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="formButtons">
                                <div class="row-fluid">
                                    <div class="span2"></div>
                                    <div class="span9">
                                        <button type="reset" class="button sButton bSky">Làm lại</button>
                                        <button type="submit" class="button sButton bOlive">Tạo mới</button>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
